package com.sy.cloud.guess;

import com.sy.common.util.Funutil;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.junit.Test;

/**
 * Created by zhuwenquan on 2018-01-11.
 */
@Slf4j
public class MainTest {
    @Test
    public void testSha1() {
//        log.info(String.valueOf((int)System.currentTimeMillis()/1000));
        log.info( Funutil.encodeByMD5("123456") );
    }
}
